package com.fintech.cloudfunc;

import java.util.Date;

public class Movie {
    private String name;
    private Date onlineDate;

    public Movie(String name, Date date) {
        this.name = name;
        this.onlineDate = date;
    }

    public String getName() {
        return name;
    }

    public Date getOnlineDate() {
        return onlineDate;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setOnlineDate(Date onlineDate) {
        this.onlineDate = onlineDate;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "name='" + name + '\'' +
                ", onlineDate=" + onlineDate +
                '}';
    }
}